using System;
using System.Collections.Generic;
using ns26;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("SetFilterTray")]
	public class SetFilterTray : MonoBehaviour
	{
		public UIBScrollable m_scroller => method_3<UIBScrollable>("m_scroller");

		public GameObject m_contents => method_3<GameObject>("m_contents");

		public CollectionSetFilterDropdownToggle m_toggleButton => method_3<CollectionSetFilterDropdownToggle>("m_toggleButton");

		public PegUIElement m_hideArea => method_3<PegUIElement>("m_hideArea");

		public GameObject m_trayObject => method_3<GameObject>("m_trayObject");

		public GameObject m_contentsBone => method_3<GameObject>("m_contentsBone");

		public GameObject m_headerPrefab => method_3<GameObject>("m_headerPrefab");

		public GameObject m_itemPrefab => method_3<GameObject>("m_itemPrefab");

		public GameObject m_showBone => method_3<GameObject>("m_showBone");

		public GameObject m_hideBone => method_3<GameObject>("m_hideBone");

		public bool m_shown => method_2<bool>("m_shown");

		public bool m_showWild => method_2<bool>("m_showWild");

		public bool m_editingDeck => method_2<bool>("m_editingDeck");

		public bool m_showUnownedSets => method_2<bool>("m_showUnownedSets");

		public bool m_isAnimating => method_2<bool>("m_isAnimating");

		public List<SetFilterItem> m_items => method_3<Class271<SetFilterItem>>("m_items")?.method_25();

		public float m_lastCollectionQueryTime => method_2<float>("m_lastCollectionQueryTime");

		public SetFilterItem m_selected => method_3<SetFilterItem>("m_selected");

		public SetFilterItem m_lastSelected => method_3<SetFilterItem>("m_lastSelected");

		public SetFilterTray(IntPtr address, string className)
			: base(address, className)
		{
		}

		public SetFilterTray(IntPtr address)
			: this(address, "SetFilterTray")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void SetButtonShown(bool isShown)
		{
			method_8("SetButtonShown", isShown);
		}

		public void SetButtonEnabled(bool isEnabled)
		{
			method_8("SetButtonEnabled", isEnabled);
		}

		public void AddHeader(string headerName, bool isWild)
		{
			method_8("AddHeader", headerName, isWild);
		}

		public void SelectFirstItem()
		{
			method_8("SelectFirstItem");
		}

		public bool HasActiveFilter()
		{
			return method_11<bool>("HasActiveFilter", Array.Empty<object>());
		}

		public void Select(SetFilterItem item, bool callCallback)
		{
			method_8("Select", item, callCallback);
		}

		public void SelectPreviouslySelectedItem()
		{
			method_8("SelectPreviouslySelectedItem");
		}

		public void UpdateSetFilters(bool showWild, bool editingDeck, bool showUnownedSets)
		{
			method_8("UpdateSetFilters", showWild, editingDeck, showUnownedSets);
		}

		public void ClearFilter()
		{
			method_8("ClearFilter");
		}

		public void Show(bool show)
		{
			method_8("Show", show);
		}

		public bool IsShown()
		{
			return method_11<bool>("IsShown", Array.Empty<object>());
		}

		public void FinishFilterShown()
		{
			method_8("FinishFilterShown");
		}

		public void FinishFilterHidden()
		{
			method_8("FinishFilterHidden");
		}

		public void Arrange()
		{
			method_8("Arrange");
		}

		public void EvaluateOwnership()
		{
			method_8("EvaluateOwnership");
		}

		public bool OwnCardInSetsForItem(SetFilterItem item)
		{
			return method_11<bool>("OwnCardInSetsForItem", new object[1] { item });
		}
	}
}
